package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {
    private int rows=10;
    private int page=1;
    public int getStartIndex()
    {
        return  (page-1)*rows;
    }
}
